package com.zyh.entity;

import lombok.Data;

import java.util.Date;
@Data
public class BorrowBookVo  {
//    private BorrowBookVo borrowBookVo;

    private Integer id;
    private Integer bookidd;
    private Integer userid;
    private Date lendTime;
    private Date sendTime;
    private String lend;
    private Integer page;
    private Integer start;
    private Integer limit;
    private User user;
    private Book book;


    public BorrowBookVo(){
        if (page==null) {
            start=0;
        } else {
            start=(page-1)*limit;
        }
    }
}
